package com.fowo.api.datainterface.constants;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 数据中心值类型定义
 *
 * @author yl_ls
 */
public enum RequestFieldTypeKind implements IEnum<String> {

    String("string", "字符串"),
    Bool("bool", "布尔"),
    Int("int", "整形"),
    Long("long", "长整形"),
    Decimal("decimal", "货币"),
    Float("float", "单精度"),
    Double("double", "双精度"),
    Datetime("datetime", "日期时间"),
    Object("object", "对象"),
    Array("array", "数组"),
    Null("null", "null");

    private final String value;
    private final String msg;

    RequestFieldTypeKind(String value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    @Override
    public String getValue() {
        return value;
    }


}
